The "fast" method fails a significant portion of the time.
unshadow will still use the "fast" method, but will fall
back to a brute-force method if it fails.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
if ( !(flags & (SHF_L2_32|SHF_L2_PAE|SHF_L2H_PAE|SHF_L4_64)) )
{
perfc_incrc(shadow_early_unshadow);
- sh_remove_shadows(v, gmfn, 1, 0 /* Fast, can fail to unshadow */ );
+ sh_remove_shadows(v, gmfn, 0, 0 /* Slow, can fail to unshadow */ );
}
}
v->arch.paging.shadow.last_emulated_mfn = mfn_x(gmfn);